package com.sxt.service.impl;

import com.sxt.common.Result;
import com.sxt.dao.VisitLogDao;
import com.sxt.pojo.User;
import com.sxt.service.IVisitLogService;

/**
 * @Description:
 * @author: Mr.T
 * @date 2020-11-06 10:32
 */
public class VisitLogServiceImpl implements IVisitLogService {

    private VisitLogDao visitLogDao = new VisitLogDao();

    @Override
    public Result add(String customerId, String name, String visitTime, String descp, User user) {
        visitLogDao.insert(customerId,name,visitTime,descp,user);
        return new Result();
    }
}
